<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>
<head>
<!-- Copyright 1997 The Open Group, All Rights Reserved -->
<title>&lt;assert.h&gt;</title>
</head><body bgcolor=white>
<center>
<font size=2>
The Single UNIX &reg; Specification, Version 2<br>
Copyright &copy; 1997 The Open Group

</font></center><hr size=2 noshade>
<h4><a name = "tag_000_001_197">&nbsp;</a>NAME</h4><blockquote>
assert.h - verify program assertion
</blockquote><h4><a name = "tag_000_001_198">&nbsp;</a>SYNOPSIS</h4><blockquote>
<pre><code>

#include &lt;assert.h&gt;
</code>
</pre>
</blockquote><h4><a name = "tag_000_001_199">&nbsp;</a>DESCRIPTION</h4><blockquote>
The
<i>&lt;assert.h&gt;</i>
header defines the
<i><a href="assert.html">assert()</a></i>
macro.  It refers to the macro
<i>NDEBUG</i>
which is not defined in the header.  If
<i>NDEBUG</i>
is defined as a macro name before the inclusion of this header, the
<i><a href="assert.html">assert()</a></i>
macro is defined simply as:
<pre>
<code>
#define assert(ignore)((void) 0)
</code>
</pre>
<p>
otherwise the macro behaves as described in
<i><a href="assert.html">assert()</a></i>.
<p>
The
<i><a href="assert.html">assert()</a></i>
macro
is implemented as a macro, not as a function.  If the macro
definition is suppressed in order to access an actual function,
the behaviour is undefined.
</blockquote><h4><a name = "tag_000_001_200">&nbsp;</a>APPLICATION USAGE</h4><blockquote>
None.
</blockquote><h4><a name = "tag_000_001_201">&nbsp;</a>FUTURE DIRECTIONS</h4><blockquote>
None.
</blockquote><h4><a name = "tag_000_001_202">&nbsp;</a>SEE ALSO</h4><blockquote>
<i><a href="assert.html">assert()</a></i>.
</blockquote><hr size=2 noshade>
<center><font size=2>
UNIX &reg; is a registered Trademark of The Open Group.<br>
Copyright &copy; 1997 The Open Group
<br> [ <a href="../index.html">Main Index</a> | <a href="../xshix.html">XSH</a> | <a href="../xcuix.html">XCU</a> | <a href="../xbdix.html">XBD</a> | <a href="../cursesix.html">XCURSES</a> | <a href="../xnsix.html">XNS</a> ]

</font></center><hr size=2 noshade>
</body></html>
